package Review.ArrayList;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        playCards playCards = new playCards();
        playCards.buyCard();//卖一副牌
        System.out.println("买到的新牌"+playCards);
        playCards.shuffleCard();//洗牌
        System.out.println("洗完的牌 "+playCards);
        Scanner scanner = new Scanner(System.in);
        String[] user = new String[3];
        System.out.println("请输入打牌的三个人： ");
        for (int i = 0; i < user.length; i++) {
            user[i] = scanner.nextLine();
        }
        playCards.touchCard(user[0],user[1],user[2] );//对应三个人摸牌

    }

}
